package com.qumitech.visualnovel.model.dao.console;

import java.util.Date;

public class BookReadInfoDAO {
    private Long id;

    private Date dtdate;

    private Long bookId;

    private String appName;

    private String appChannel;

    private String appVersion;

    private Integer chapterUnlockUsers;

    private Integer chapterUnlockTimes;

    private Integer chapterUnlockKeys;

    private Integer chapterUnlockTickets;

    private Integer optionUnlockUsers;

    private Integer optionUnlockTimes;

    private Integer optionUnlockDiamonds;

    private Integer sumReaders;

    private Integer cpt1Readers;

    private Date updatedAt;

    private Date createdAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getDtdate() {
        return dtdate;
    }

    public void setDtdate(Date dtdate) {
        this.dtdate = dtdate;
    }

    public Long getBookId() {
        return bookId;
    }

    public void setBookId(Long bookId) {
        this.bookId = bookId;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName == null ? null : appName.trim();
    }

    public String getAppChannel() {
        return appChannel;
    }

    public void setAppChannel(String appChannel) {
        this.appChannel = appChannel == null ? null : appChannel.trim();
    }

    public String getAppVersion() {
        return appVersion;
    }

    public void setAppVersion(String appVersion) {
        this.appVersion = appVersion == null ? null : appVersion.trim();
    }

    public Integer getChapterUnlockUsers() {
        return chapterUnlockUsers;
    }

    public void setChapterUnlockUsers(Integer chapterUnlockUsers) {
        this.chapterUnlockUsers = chapterUnlockUsers;
    }

    public Integer getChapterUnlockTimes() {
        return chapterUnlockTimes;
    }

    public void setChapterUnlockTimes(Integer chapterUnlockTimes) {
        this.chapterUnlockTimes = chapterUnlockTimes;
    }

    public Integer getChapterUnlockKeys() {
        return chapterUnlockKeys;
    }

    public void setChapterUnlockKeys(Integer chapterUnlockKeys) {
        this.chapterUnlockKeys = chapterUnlockKeys;
    }

    public Integer getChapterUnlockTickets() {
        return chapterUnlockTickets;
    }

    public void setChapterUnlockTickets(Integer chapterUnlockTickets) {
        this.chapterUnlockTickets = chapterUnlockTickets;
    }

    public Integer getOptionUnlockUsers() {
        return optionUnlockUsers;
    }

    public void setOptionUnlockUsers(Integer optionUnlockUsers) {
        this.optionUnlockUsers = optionUnlockUsers;
    }

    public Integer getOptionUnlockTimes() {
        return optionUnlockTimes;
    }

    public void setOptionUnlockTimes(Integer optionUnlockTimes) {
        this.optionUnlockTimes = optionUnlockTimes;
    }

    public Integer getOptionUnlockDiamonds() {
        return optionUnlockDiamonds;
    }

    public void setOptionUnlockDiamonds(Integer optionUnlockDiamonds) {
        this.optionUnlockDiamonds = optionUnlockDiamonds;
    }

    public Integer getSumReaders() {
        return sumReaders;
    }

    public void setSumReaders(Integer sumReaders) {
        this.sumReaders = sumReaders;
    }

    public Integer getCpt1Readers() {
        return cpt1Readers;
    }

    public void setCpt1Readers(Integer cpt1Readers) {
        this.cpt1Readers = cpt1Readers;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", dtdate=").append(dtdate);
        sb.append(", bookId=").append(bookId);
        sb.append(", appName=").append(appName);
        sb.append(", appChannel=").append(appChannel);
        sb.append(", appVersion=").append(appVersion);
        sb.append(", chapterUnlockUsers=").append(chapterUnlockUsers);
        sb.append(", chapterUnlockTimes=").append(chapterUnlockTimes);
        sb.append(", chapterUnlockKeys=").append(chapterUnlockKeys);
        sb.append(", chapterUnlockTickets=").append(chapterUnlockTickets);
        sb.append(", optionUnlockUsers=").append(optionUnlockUsers);
        sb.append(", optionUnlockTimes=").append(optionUnlockTimes);
        sb.append(", optionUnlockDiamonds=").append(optionUnlockDiamonds);
        sb.append(", sumReaders=").append(sumReaders);
        sb.append(", cpt1Readers=").append(cpt1Readers);
        sb.append(", updatedAt=").append(updatedAt);
        sb.append(", createdAt=").append(createdAt);
        sb.append("]");
        return sb.toString();
    }
}